package com.info.zhiduoduo.repository.entity.project;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目竞标
 * </p>
 *
 * @author bob
 * @since 2018-12-23
 */
@Data
@Accessors(chain = true)
@TableName("zdd_project_bidding")
public class ProjectBidding extends Model<ProjectBidding> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer projectid;
    private Integer compid;
    private Integer userid;
    private Date createtime;
    /**
     * 竞标金额
     */
    private BigDecimal biddingamount;
    /**
     * 竞标天数
     */
    private Float biddingdays;
    /**
     * 竞标介绍
     */
    private String biddingintro;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
